Added Travis build status badge in readme#159
Conversation
|
@nodejs/website shipable or a bad idea? |
|
Well, at the moment, we don't have any code to test on Travis CI, and linting may soon be replaced by JS "standard". |
|
So we dont want to run standard linting with Travis? |
|
I think pre-commit is a better way to handle this. |
|
Hmmm, got to admit I'm no hooks-fan as it will always leave room for someone to not have them in place, even with that pre-commit dependency in place since we cant enforce I would be more than happy to have non-critical things run as a hook, such as only code style checking. standard does more than that though, checking for undefined variables etc which could cause serious issues. |
|
Well, if you want to build and test your changes, you have to At the moment, the site is deployed on commit. So even if you have a "failing" travis badge, this would not stop the site from being deployed, unless we use the deploy hook on Travis CI (@rvagg is it possible to use that for the site without much of a hassle?) So ideally, we could also combine our two PRs. |
|
Good point about any commit triggering a deploy anyway. Possibly using Travis webhooks would be great 👍 |
|
uh, I've never tried, I have github-webhook that we're using for nodejs.org and iojs.org but don't have anything similar for travis |
|
We could use the |
|
FYI keeping this open as I'm writing some tests for |
|
Cool. If you're done with the tests, can you take a look at the merge conflict, so we can get this merged? |
|
Absolutely! Will fix it as soon as #193 lands :) |
On second thought, I pushed a fix now as we dont need to alter |
|
As #193 gives us tests to run for the first time (yay!), I'm merging this as well. Thanks! |
Added Travis build status badge in readme
|
🎉 @mikeal does the nodejs org have Travis CI credentials to hook this up? |
|
@phillipj it would be the @nodejs/build WG that would have those credentials. |
|
Awesome! Could anyone in @nodejs/build with permission to this repo, please enable the Travis CI service? |
|
doesn't need @nodejs/build afaik, everyone here with "Owner" should be able to do this if you just log in to Travis. I've done it now, see if it works. |
Needed sooner or later as someone hopefully writes the first set of tests + addresses the enforcing part of the codestyle linting discussed in #157.